/*
 * Script containing the ForceClose controller
 * 
 * Author: Chris Casola
 */

/**
 * This controller handles click events on the force
 * close button
 */
function ForceCloseController () {
	// send the request
	sendRequest(new forceCloseRequest());
	
	// prevent the user from sending a second close request
	document.getElementById('btnForceClose').removeEventListener("click", ForceCloseController, false);
}